package com.jiawa.train.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("train_station")
public class TrainStation {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String trainCode;
    private Integer index;
    private String name;
    private String namePinyin;
    private Date inTime;
    private Date outTime;
    private Date stopTime;
    private BigDecimal km;
    private Date createTime;
    private Date updateTime;
}